<?php /* Smarty version 2.6.26, created on 2015-05-31 09:55:40
         compiled from D:/www/wamp/www/0423/0527+WenDa/WenDa/index/View/index/Index_index.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'charsetutf8', 'D:/www/wamp/www/0423/0527 WenDa/WenDa/index/View/index/Index_index.html', 81, false),)), $this); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title><?php echo $this->_tpl_vars['webName']; ?>
</title>
	<meta name="keywords" content="<?php echo $this->_tpl_vars['KEYWORDS']; ?>
"/>
	<meta name="description" content="<?php echo $this->_tpl_vars['DISCRIPTION']; ?>
"/>
		<script type="text/javascript">
			var APP = "<?php echo @__APP__; ?>
";
			var PUBLIC = "<?php echo @__PUBLIC__; ?>
";
		</script>
	<link rel="stylesheet" href="<?php echo @__PUBLIC__; ?>
/Css/common.css" />
</head>
<body>
<!-- top -->
	<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "../index/header.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<!-- top -->
<link rel="stylesheet" href="<?php echo @__PUBLIC__; ?>
/Css/index.css" />
	<script type="text/javascript" src='<?php echo @__PUBLIC__; ?>
/Js/index.js'></script>	
	<div class='main'>
		<div id='left'>
			<p class='left-title'>所有问题分类</p>
			<ul class='left-list'>
				
				
				<?php unset($this->_sections['top']);
$this->_sections['top']['loop'] = is_array($_loop=$this->_tpl_vars['cate']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['top']['name'] = 'top';
$this->_sections['top']['show'] = true;
$this->_sections['top']['max'] = $this->_sections['top']['loop'];
$this->_sections['top']['step'] = 1;
$this->_sections['top']['start'] = $this->_sections['top']['step'] > 0 ? 0 : $this->_sections['top']['loop']-1;
if ($this->_sections['top']['show']) {
    $this->_sections['top']['total'] = $this->_sections['top']['loop'];
    if ($this->_sections['top']['total'] == 0)
        $this->_sections['top']['show'] = false;
} else
    $this->_sections['top']['total'] = 0;
if ($this->_sections['top']['show']):

            for ($this->_sections['top']['index'] = $this->_sections['top']['start'], $this->_sections['top']['iteration'] = 1;
                 $this->_sections['top']['iteration'] <= $this->_sections['top']['total'];
                 $this->_sections['top']['index'] += $this->_sections['top']['step'], $this->_sections['top']['iteration']++):
$this->_sections['top']['rownum'] = $this->_sections['top']['iteration'];
$this->_sections['top']['index_prev'] = $this->_sections['top']['index'] - $this->_sections['top']['step'];
$this->_sections['top']['index_next'] = $this->_sections['top']['index'] + $this->_sections['top']['step'];
$this->_sections['top']['first']      = ($this->_sections['top']['iteration'] == 1);
$this->_sections['top']['last']       = ($this->_sections['top']['iteration'] == $this->_sections['top']['total']);
?>
				<li class='list-l1'>
					<div class='list-l1-wrap'>
						<h4><a href="<?php echo @__ROOT__; ?>
/index.php?c=list&cid=<?php echo $this->_tpl_vars['cate'][$this->_sections['top']['index']]['cid']; ?>
"><?php echo $this->_tpl_vars['cate'][$this->_sections['top']['index']]['title']; ?>
</a></h4>
						<ul class='list-l2'>
							<li>
								<?php unset($this->_sections['son']);
$this->_sections['son']['loop'] = is_array($_loop=$this->_tpl_vars['cate'][$this->_sections['top']['index']]['son']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['son']['name'] = 'son';
$this->_sections['son']['max'] = (int)3;
$this->_sections['son']['show'] = true;
if ($this->_sections['son']['max'] < 0)
    $this->_sections['son']['max'] = $this->_sections['son']['loop'];
$this->_sections['son']['step'] = 1;
$this->_sections['son']['start'] = $this->_sections['son']['step'] > 0 ? 0 : $this->_sections['son']['loop']-1;
if ($this->_sections['son']['show']) {
    $this->_sections['son']['total'] = min(ceil(($this->_sections['son']['step'] > 0 ? $this->_sections['son']['loop'] - $this->_sections['son']['start'] : $this->_sections['son']['start']+1)/abs($this->_sections['son']['step'])), $this->_sections['son']['max']);
    if ($this->_sections['son']['total'] == 0)
        $this->_sections['son']['show'] = false;
} else
    $this->_sections['son']['total'] = 0;
if ($this->_sections['son']['show']):

            for ($this->_sections['son']['index'] = $this->_sections['son']['start'], $this->_sections['son']['iteration'] = 1;
                 $this->_sections['son']['iteration'] <= $this->_sections['son']['total'];
                 $this->_sections['son']['index'] += $this->_sections['son']['step'], $this->_sections['son']['iteration']++):
$this->_sections['son']['rownum'] = $this->_sections['son']['iteration'];
$this->_sections['son']['index_prev'] = $this->_sections['son']['index'] - $this->_sections['son']['step'];
$this->_sections['son']['index_next'] = $this->_sections['son']['index'] + $this->_sections['son']['step'];
$this->_sections['son']['first']      = ($this->_sections['son']['iteration'] == 1);
$this->_sections['son']['last']       = ($this->_sections['son']['iteration'] == $this->_sections['son']['total']);
?> 
								<a href="<?php echo @__ROOT__; ?>
/index.php?c=list&cid=<?php echo $this->_tpl_vars['cate'][$this->_sections['top']['index']]['son'][$this->_sections['son']['index']]['cid']; ?>
"><?php echo $this->_tpl_vars['cate'][$this->_sections['top']['index']]['son'][$this->_sections['son']['index']]['title']; ?>
</a>
								<?php endfor; endif; ?>
							</li>
						</ul>
					</div>

					<div class='list-more hidden'>
						<ul>
							<?php unset($this->_sections['son']);
$this->_sections['son']['loop'] = is_array($_loop=$this->_tpl_vars['cate'][$this->_sections['top']['index']]['son']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['son']['name'] = 'son';
$this->_sections['son']['start'] = (int)3;
$this->_sections['son']['show'] = true;
$this->_sections['son']['max'] = $this->_sections['son']['loop'];
$this->_sections['son']['step'] = 1;
if ($this->_sections['son']['start'] < 0)
    $this->_sections['son']['start'] = max($this->_sections['son']['step'] > 0 ? 0 : -1, $this->_sections['son']['loop'] + $this->_sections['son']['start']);
else
    $this->_sections['son']['start'] = min($this->_sections['son']['start'], $this->_sections['son']['step'] > 0 ? $this->_sections['son']['loop'] : $this->_sections['son']['loop']-1);
if ($this->_sections['son']['show']) {
    $this->_sections['son']['total'] = min(ceil(($this->_sections['son']['step'] > 0 ? $this->_sections['son']['loop'] - $this->_sections['son']['start'] : $this->_sections['son']['start']+1)/abs($this->_sections['son']['step'])), $this->_sections['son']['max']);
    if ($this->_sections['son']['total'] == 0)
        $this->_sections['son']['show'] = false;
} else
    $this->_sections['son']['total'] = 0;
if ($this->_sections['son']['show']):

            for ($this->_sections['son']['index'] = $this->_sections['son']['start'], $this->_sections['son']['iteration'] = 1;
                 $this->_sections['son']['iteration'] <= $this->_sections['son']['total'];
                 $this->_sections['son']['index'] += $this->_sections['son']['step'], $this->_sections['son']['iteration']++):
$this->_sections['son']['rownum'] = $this->_sections['son']['iteration'];
$this->_sections['son']['index_prev'] = $this->_sections['son']['index'] - $this->_sections['son']['step'];
$this->_sections['son']['index_next'] = $this->_sections['son']['index'] + $this->_sections['son']['step'];
$this->_sections['son']['first']      = ($this->_sections['son']['iteration'] == 1);
$this->_sections['son']['last']       = ($this->_sections['son']['iteration'] == $this->_sections['son']['total']);
?>
							<li><a href="<?php echo @__ROOT__; ?>
/index.php?c=list&cid=<?php echo $this->_tpl_vars['cate'][$this->_sections['top']['index']]['son'][$this->_sections['son']['index']]['cid']; ?>
"><?php echo $this->_tpl_vars['cate'][$this->_sections['top']['index']]['son'][$this->_sections['son']['index']]['title']; ?>
</a></li>
							<?php endfor; endif; ?>
						</ul>
					</div>
				</li>
				<?php endfor; endif; ?>
		
			</ul>
		</div>

		<div id='center'>
			<div id='animate'>
				<div class='imgs-wrap'>
					<ul>
						<li>
							<a href=""><img src="<?php echo @__PUBLIC__; ?>
/Images/animate1.jpg" width='558' height='190'/></a>
						</li>
						<li>
							<a href=""><img src="<?php echo @__PUBLIC__; ?>
/Images/animate2.jpg" width='558' height='190'/></a>
						</li>
						<li>
							<a href=""><img src="<?php echo @__PUBLIC__; ?>
/Images/animate3.jpg" width='558' height='190'/></a>
						</li>
					</ul>
				</div>
				<ul class='ani-btn'>
					<li class='ani-btn-cur'>0学费学习<i></i></li>
					<li>超百G原创视频<i></i></li>
					<li style='border:none'>有实力做后盾<i></i></li>
				</ul>
			</div>

			<dl class='answer-list'>
				<dt>
					<span class='wait-as'>待解决问题</span>
					<a href=''>更多>></a>
				</dt>
				<?php unset($this->_sections['showList']);
$this->_sections['showList']['loop'] = is_array($_loop=$this->_tpl_vars['showList']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['showList']['name'] = 'showList';
$this->_sections['showList']['show'] = true;
$this->_sections['showList']['max'] = $this->_sections['showList']['loop'];
$this->_sections['showList']['step'] = 1;
$this->_sections['showList']['start'] = $this->_sections['showList']['step'] > 0 ? 0 : $this->_sections['showList']['loop']-1;
if ($this->_sections['showList']['show']) {
    $this->_sections['showList']['total'] = $this->_sections['showList']['loop'];
    if ($this->_sections['showList']['total'] == 0)
        $this->_sections['showList']['show'] = false;
} else
    $this->_sections['showList']['total'] = 0;
if ($this->_sections['showList']['show']):

            for ($this->_sections['showList']['index'] = $this->_sections['showList']['start'], $this->_sections['showList']['iteration'] = 1;
                 $this->_sections['showList']['iteration'] <= $this->_sections['showList']['total'];
                 $this->_sections['showList']['index'] += $this->_sections['showList']['step'], $this->_sections['showList']['iteration']++):
$this->_sections['showList']['rownum'] = $this->_sections['showList']['iteration'];
$this->_sections['showList']['index_prev'] = $this->_sections['showList']['index'] - $this->_sections['showList']['step'];
$this->_sections['showList']['index_next'] = $this->_sections['showList']['index'] + $this->_sections['showList']['step'];
$this->_sections['showList']['first']      = ($this->_sections['showList']['iteration'] == 1);
$this->_sections['showList']['last']       = ($this->_sections['showList']['iteration'] == $this->_sections['showList']['total']);
?>
				<dd>
					<a href="<?php echo @__APP__; ?>
?c=show&cid=<?php echo $this->_tpl_vars['showList'][$this->_sections['showList']['index']]['cid']; ?>
&asid=<?php echo $this->_tpl_vars['showList'][$this->_sections['showList']['index']]['asid']; ?>
"><b><?php echo $this->_tpl_vars['showList'][$this->_sections['showList']['index']]['reward']; ?>
</b><?php echo ((is_array($_tmp=$this->_tpl_vars['showList'][$this->_sections['showList']['index']]['content'])) ? $this->_run_mod_handler('charsetutf8', true, $_tmp, 33) : smarty_modifier_charsetutf8($_tmp, 33)); ?>
</a>
					<span><?php echo $this->_tpl_vars['showList'][$this->_sections['showList']['index']]['answer']; ?>
回答</span>
				</dd>
				<?php endfor; endif; ?>
			</dl>
			
			<dl class='answer-list'>
				<dt>
					<span class='reward-as'>高分悬赏问题</span>
					<a href=''>更多>></a>
				</dt>
				<?php unset($this->_sections['hightScro']);
$this->_sections['hightScro']['loop'] = is_array($_loop=$this->_tpl_vars['hightScro']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['hightScro']['name'] = 'hightScro';
$this->_sections['hightScro']['show'] = true;
$this->_sections['hightScro']['max'] = $this->_sections['hightScro']['loop'];
$this->_sections['hightScro']['step'] = 1;
$this->_sections['hightScro']['start'] = $this->_sections['hightScro']['step'] > 0 ? 0 : $this->_sections['hightScro']['loop']-1;
if ($this->_sections['hightScro']['show']) {
    $this->_sections['hightScro']['total'] = $this->_sections['hightScro']['loop'];
    if ($this->_sections['hightScro']['total'] == 0)
        $this->_sections['hightScro']['show'] = false;
} else
    $this->_sections['hightScro']['total'] = 0;
if ($this->_sections['hightScro']['show']):

            for ($this->_sections['hightScro']['index'] = $this->_sections['hightScro']['start'], $this->_sections['hightScro']['iteration'] = 1;
                 $this->_sections['hightScro']['iteration'] <= $this->_sections['hightScro']['total'];
                 $this->_sections['hightScro']['index'] += $this->_sections['hightScro']['step'], $this->_sections['hightScro']['iteration']++):
$this->_sections['hightScro']['rownum'] = $this->_sections['hightScro']['iteration'];
$this->_sections['hightScro']['index_prev'] = $this->_sections['hightScro']['index'] - $this->_sections['hightScro']['step'];
$this->_sections['hightScro']['index_next'] = $this->_sections['hightScro']['index'] + $this->_sections['hightScro']['step'];
$this->_sections['hightScro']['first']      = ($this->_sections['hightScro']['iteration'] == 1);
$this->_sections['hightScro']['last']       = ($this->_sections['hightScro']['iteration'] == $this->_sections['hightScro']['total']);
?>
				<dd>
					<a href="<?php echo @__APP__; ?>
?c=show&cid=<?php echo $this->_tpl_vars['hightScro'][$this->_sections['hightScro']['index']]['cid']; ?>
&asid=<?php echo $this->_tpl_vars['hightScro'][$this->_sections['hightScro']['index']]['asid']; ?>
"><b><?php echo $this->_tpl_vars['hightScro'][$this->_sections['hightScro']['index']]['reward']; ?>
</b><?php echo ((is_array($_tmp=$this->_tpl_vars['hightScro'][$this->_sections['hightScro']['index']]['content'])) ? $this->_run_mod_handler('charsetutf8', true, $_tmp, 30) : smarty_modifier_charsetutf8($_tmp, 30)); ?>
</a>
					<span><?php echo $this->_tpl_vars['hightScro'][$this->_sections['hightScro']['index']]['answer']; ?>
回答</span>
				</dd>
				<?php endfor; endif; ?>
			</dl>
			
			<dl class='answer-list'>
				<dt>
					<span class='reward-as'>已解决问题</span>
					<a href=''>更多>></a>
				</dt>
				<?php unset($this->_sections['okAnswer']);
$this->_sections['okAnswer']['loop'] = is_array($_loop=$this->_tpl_vars['okAnswer']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['okAnswer']['name'] = 'okAnswer';
$this->_sections['okAnswer']['show'] = true;
$this->_sections['okAnswer']['max'] = $this->_sections['okAnswer']['loop'];
$this->_sections['okAnswer']['step'] = 1;
$this->_sections['okAnswer']['start'] = $this->_sections['okAnswer']['step'] > 0 ? 0 : $this->_sections['okAnswer']['loop']-1;
if ($this->_sections['okAnswer']['show']) {
    $this->_sections['okAnswer']['total'] = $this->_sections['okAnswer']['loop'];
    if ($this->_sections['okAnswer']['total'] == 0)
        $this->_sections['okAnswer']['show'] = false;
} else
    $this->_sections['okAnswer']['total'] = 0;
if ($this->_sections['okAnswer']['show']):

            for ($this->_sections['okAnswer']['index'] = $this->_sections['okAnswer']['start'], $this->_sections['okAnswer']['iteration'] = 1;
                 $this->_sections['okAnswer']['iteration'] <= $this->_sections['okAnswer']['total'];
                 $this->_sections['okAnswer']['index'] += $this->_sections['okAnswer']['step'], $this->_sections['okAnswer']['iteration']++):
$this->_sections['okAnswer']['rownum'] = $this->_sections['okAnswer']['iteration'];
$this->_sections['okAnswer']['index_prev'] = $this->_sections['okAnswer']['index'] - $this->_sections['okAnswer']['step'];
$this->_sections['okAnswer']['index_next'] = $this->_sections['okAnswer']['index'] + $this->_sections['okAnswer']['step'];
$this->_sections['okAnswer']['first']      = ($this->_sections['okAnswer']['iteration'] == 1);
$this->_sections['okAnswer']['last']       = ($this->_sections['okAnswer']['iteration'] == $this->_sections['okAnswer']['total']);
?>
				<dd>
					<a href="<?php echo @__APP__; ?>
?c=show&cid=<?php echo $this->_tpl_vars['okAnswer'][$this->_sections['okAnswer']['index']]['cid']; ?>
&asid=<?php echo $this->_tpl_vars['okAnswer'][$this->_sections['okAnswer']['index']]['asid']; ?>
"><b><?php echo $this->_tpl_vars['okAnswer'][$this->_sections['okAnswer']['index']]['reward']; ?>
</b><?php echo ((is_array($_tmp=$this->_tpl_vars['okAnswer'][$this->_sections['okAnswer']['index']]['content'])) ? $this->_run_mod_handler('charsetutf8', true, $_tmp, 30) : smarty_modifier_charsetutf8($_tmp, 30)); ?>
</a>
					<span><?php echo $this->_tpl_vars['okAnswer'][$this->_sections['okAnswer']['index']]['answer']; ?>
回答</span>
				</dd>
				<?php endfor; endif; ?>
			</dl>
		</div>
<!-- 右侧 -->
	<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "../index/rightbar.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<!-- ---右侧结束---- -->
	</div>
<!--------------------内容主体结束-------------------->
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "../index/footer.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
</body>
</html>
<!-- 底部结束 -->